#ifndef _ENTRYPOINT_H
#define _ENTRYPOINT_H

#include "Application.h"

extern std::shared_ptr<Engine2D::Application> CreateApplication(Engine2D::ApplicationArgs args);

int main(int argc, char * argv[])
{
    auto app = CreateApplication(Engine2D::ApplicationArgs{argc, argv});
    Engine2D::Application::s_app = app;
    app->Init();
    app->Run();
    return 0;
}   

#endif